package com.tarena.lbs.user.pojo.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class AdminParam implements Serializable {
    @Schema(description = "账号ID")
    Integer id;

    @Schema(description  = "账号类型(平台:0、商家:1)", name = "accountType", example = "0", required = true)
    Integer accountType;

    @Schema(description  = "商家ID(账号类型为商家时必填)", name = "businessId", example = "1")
    Integer businessId;

    @Schema(description  = "手机号", name = "accountPhone", example = "19941253145", required = true)
    String accountPhone;

    @Schema(description  = "密码", name = "accountPassword", example = "123456", required = true)
    String accountPassword;

    @Schema(description  = "用户名称", name = "nickname", example = "闫鹏宇", required = true)
    String nickname;

    @Schema(description  = "电子邮箱", name = "email", example = "yanpengyu5@tedu.cn", required = true)
    String email;

    @Schema(description  = "账号状态（是否启用）0禁用 1启用", name = "accountStatus", example = "1", required = true)
    Integer accountStatus;

//    private Integer id;

//    public Integer getId() {
//        return id;
//    }
//
//    public void setId(Integer id) {
//        this.id = id;
//    }
}